/**  
 * Project Name:api-webhook  
 * File Name:ChsiApi.java  
 * Package Name:com.example.service.webhook.business.chsi.api  
 * Date:2016年7月26日下午4:22:01  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.qq.api;

import java.util.List;

import com.example.service.webhook.business.jingdong.dto.JdDeliverAddress;
import com.example.service.webhook.business.jingdong.dto.JdTradeDetailsRes;
import com.example.service.webhook.business.jingdong.dto.JdUserInfo;
import com.example.service.webhook.business.jingdong.dto.JdWealth;
import com.example.service.webhook.business.qq.dto.QQContact;
import com.example.service.webhook.business.qq.dto.QQGroupMember;
import com.example.service.webhook.business.qq.dto.QQPersonalInterests;
import com.example.service.webhook.business.qq.dto.QQRecentContact;
import com.example.service.webhook.business.qq.dto.QQUserInfo;
import com.example.service.webhook.business.qq.dto.QqGroup;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * 
 * ClassName: JingdongApi    
 * date: 2016年9月9日 上午11:53:47   
 * @author yuandong  
 * @version   
 * @since JDK 1.6
 */
public interface QqApi {
	 //根据QQ号查询所有好友信息
	 @GET("/qqcontact/v1/{qqNum}/contacts")
	 Call<List<QQContact>> getContacts(@Path("qqNum") String qqNum);
	//根据QQ号查询用户详细信息
	 @GET("/qqcontact/v1/{qqNum}/userinfo")
	 Call<QQUserInfo> getUserInfo(@Path("qqNum") String qqNum);
	 
	//查询QQ用户兴趣爱好信息
	@GET("/qqcontact/v1/{qqNum}/userinterests")
	Call<List<QQPersonalInterests>> getUserInterests(@Path("qqNum") String qqNum);
	
	//查询QQ最近联系人信息
	@GET("/qqcontact/v1/{qqNum}/qqrecentcontacts")
    Call<List<QQRecentContact>> getQQRecentContact(@Path("qqNum") String qqNum);
    
	//查询QQ群
	@GET("/qqcontact/v1/{qqNum}/groups")
	Call<List<QqGroup>> getQqGroup(@Path("qqNum") String qqNum);
	
	//查询所有QQ群的成员信息
	@GET("/qqcontact/v1/{qqNum}/qqgroupmembers")
	Call<List<QQGroupMember>> getQQGroupMember(@Path("qqNum") String qqNum);

}
  
